package com.TPNexus.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.enterprise.context.SessionScoped;
import java.io.Serializable;

@SessionScoped
public class PurchaseOrderLineItem implements Serializable {

	private static final long serialVersionUID = 6777864849117277443L;
	private long polineitemid;
	private CatalogItem catalogitem;
	private int Qty;
	private Date deliverydate;
	private List<POResponseLineItem> poresponselineitems=new ArrayList<POResponseLineItem>();

	public long getPolineitemid() {
		return polineitemid;
	}

	public void setPolineitemid(long polineitemid) {
		this.polineitemid = polineitemid;
	}

	public CatalogItem getCatalogitem() {
		return catalogitem;
	}

	public void setCatalogitem(CatalogItem catalogitem) {
		this.catalogitem = catalogitem;
	}

	public Date getDeliverydate() {
		return deliverydate;
	}

	public void setDeliverydate(Date deliverydate) {
		this.deliverydate = deliverydate;
	}

	public PurchaseOrderLineItem(long polineitemid, CatalogItem catalogitem,
			Date deliverydate) {
		super();
		this.polineitemid = polineitemid;
		this.catalogitem = catalogitem;
		this.deliverydate = deliverydate;
	}

	public PurchaseOrderLineItem() {

	}

	public int getQty() {
		return Qty;
	}

	public void setQty(int qty) {
		Qty = qty;
	}

	public List<POResponseLineItem> getPoresponselineitems() {
		return poresponselineitems;
	}

	public void setPoresponselineitems(List<POResponseLineItem> poresponselineitems) {
		this.poresponselineitems = poresponselineitems;
	}
}
